package bs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 
 * PageController:
 *
 * @author 姜治昊
 * @time 2017年11月19日 下午9:09:08
 */
@Controller
@RequestMapping("go")
public class PageController {

	/**
	 * 跳转到主界面
	 * @return
	 */
	@RequestMapping(value="main", method=RequestMethod.GET)
	public String gotoMain() {
		return "door/main";
	}
	
	@RequestMapping(value="mybooks", method=RequestMethod.GET)
	public String myBooks() {
		return "book/mybooks";
	}
	
}
